<template>
  <a-result
    status="404"
    title="404"
    sub-title="Sorry, the page you visited does not exist."
  >
    <template #extra>
      <a-button type="primary" @click="home()">Back Home</a-button>
    </template>
  </a-result>
</template>

<script>
import router from "@/router/index";
export default {
  name: "NotFoundView",

  setup() {
    const home = () => {
      router.push("/");
    };
    return {
      home,
    };
  },
};
</script>

<style scoped>
</style>